package reflex;

public class Student extends Parent{
    private String name;
    private Integer age;
    private String address;

    public void aa(){

    }
    public Student() {
        System.out.println("student");
    }

    private Student(String name, Integer age) {
        System.out.println("studentAllArgs");
        this.name = name;
        this.age = age;
    }

    private void getAa(String name) {
        System.out.println(name+"111");
    }

    //name
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
